//请求接口
import axios from "axios";
export default function request(storeCode = window.api.storeCode) {
    let url = window.api.base_host + `/common/selectTemplate`;
    // console.log("print request url", url);
    let params = {
        storeCode:  window.api.storeCode,
        enterpriseCode: window.api.enterpriseCode,
        token: new Date().getTime()
    }
    let option = {
        url,
        method: "get",
        params
    }
    return axios(option);
}

